    {template "wap","header"}
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide"><img src="{JS_PATH}mtest/images/banner.jpg" alt="banner" /></div>
            <div class="swiper-slide"><img src="{JS_PATH}mtest/images/banner.jpg" alt="banner" /></div>
            <div class="swiper-slide"><img src="{JS_PATH}mtest/images/banner.jpg" alt="banner" /></div>
        </div>
        <div class="swiper-pagination"></div>
    </div>
    <div class="m-menu">
        <div class="m-menu-left">
            <i class="icons fa fa-search fa-2x"></i>
            <p>录取查询</p>
        </div>
        <div class="m-menu-right">
            <a href="/mlist-1-1.html">
                <div class="m-menu-yx">
                    <i class="icons color2 fa fa fa-university"></i>
                    <p>招生计划</p>
                </div>
            </a>
            <a href="/mlist-6-1.html">
                <div class="m-menu-searh">
                    <i class="icons color3 fa fa-street-view"></i>
                    <p>招考指南</p>
                </div>
            </a>
        </div>
    </div>
    <div class="m-category">
        <ul>
            <li>
                <a href="/mlist-5-1.html">
                    <img src="{JS_PATH}mtest/images/icon1.png" />
                    <p>招生快讯</p>
                </a>
            </li>
            <li>
                <a href="/mlist-6-1.html">
                    <img src="{JS_PATH}mtest/images/icon2.png" />
                    <p>历年统计</p>
                </a>
            </li>
            <li>
                <a href="/mlist-11-1.html">
                    <img src="{JS_PATH}mtest/images/icon3.png" />
                    <p>学院导航</p>
                </a>
            </li>
            <li>
                <a href="">
                    <img src="{JS_PATH}mtest/images/icon4.png" />
                    <p>大美黄淮</p>
                </a>
            </li>
            <li>
                <a href="">
                    <img src="{JS_PATH}mtest/images/icon5.png" />
                    <p>黄淮宣传片</p>
                </a>
            </li>
            <li>
                <a href="/mlist-10-1.html">
                    <img src="{JS_PATH}mtest/images/icon6.png" />
                    <p>校园风光</p>
                </a>
            </li>
        </ul>
    </div>
    <div class="m-footer">
        <ul>
            <li><a href=""><i class="fa fa-map-marker"></i>来校导航</a></li>
            <li class="m-phone"><a href=""><i class="fa fa-phone"></i>招生电话</a></li>
            <li><a href=""><i class="fa fa-envelope-open-o"></i>联系我们</a></li>
        </ul>
    </div>
    <script type="text/javascript">
        $('.m-menu-left').click(function(){
            layer.open({
                content: "<div class='m-search'><label>输入信息</label><input type='text'  value=''></div>",
                btn: '确定',
                yes:function(index){
                    var val = $('.m-search input').val();
                    if(val == ''){
                        alert("考生号不能为空");
                        return false;
                    }
                    $.ajax({
                        url: '/index.php?a=ajax_list',
                        type: 'POST',
                        dataType: 'json',
                        data: {id: val},
                        success:function(data){
                            if(data==null){
                                alert("查询不到相关信息");
                                return false;
                            }                  
                            layer.open({
                               content: "<span style='color:red'>"+data.name+"</span>同学恭喜你！你已经被<span style='color:red'>"+data.zhuanye+"</span>录取了！",
                               btn: '确定'
                            });
                        }
                    }) 
                }
            });            
        })
    </script>        
    {template "wap","footer"}